home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / ArpAllocMem < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ArpAllocMem(31.0)      Arp Programmers Manual     ArpAllocMem(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       ArpAllocMem -    Allocate and track memory.
  10.  
  11.      SYNOPSIS
  12.       MemPtr = ArpAlloc( size, reqs    )
  13.         d0              D0    D1
  14.  
  15.      FUNCTION
  16.       This function    is identical to    Exec's AllocMem, but will uses
  17.       the ArpLibrary tracking mechanism to track the allocations.
  18.       Note that you    can track CHIP memory using this function.
  19.  
  20.      INPUTS
  21.       size - amount    of memory required
  22.  
  23.       reqs - type of memory    required
  24.  
  25.      RESULT
  26.       MemPtr - Pointer to a    memory block of    type and size
  27.           requested, or    NULL, if not available.
  28.  
  29.       TRACKER - Tracker is available in A1,    or in LastTracker
  30.           variable if calling from 'C'.
  31.  
  32.      REMEMBER
  33.       You must FreeTrackedItem( TRACKER ) or CloseLibrary()    or
  34.       ArpExit() to free this memory.
  35.  
  36.      BUGS
  37.       None known.
  38.  
  39.      SEE ALSO
  40.       OpenLibrary(), CloseLibrary(), FreeTrackedItem(),
  41.       GetTracker() exec.doc/AllocMem()
  42.  
  43.      AUTHOR
  44.       SDB
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.